html,
body {
    height: 100%;
    margin: 0;
}

ul,
li {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

h1,
h2 {
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
}

body {
    /* 加载背景图 */
    background: url("../image/bg.png") no-repeat fixed center center;
    background-size: cover;
    overflow: hidden;
}

/* 转场特效 */


/* 动画设置 */
canvas {
    position: absolute;
    z-index: -2;
    opacity: 0.8;
}

/* 底部设置 */
footer {
    position: absolute;
    width: 100%;
    bottom: 26px;
    font-size: 14px;
    text-align: center;
    color: #000000;
}


/* 蒙版 */
.app {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 容器大小 */
.container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 登陆注册 submit */
.submit {
    width: 310px;
    height: 40px;

    background: rgba(2, 6, 21, 0.4);
    opacity: 0.8;

    color: rgba(217, 217, 217, 0.8);

    border: 0;
}

/* 登陆注册错误信息提示 */
.wrong-tip {
    font-family: 'Inter', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;

    color: #2EE2EE;

}


/* 登陆注册表单 */
.bg {
    width: 330px;
    height: 302px;
    margin: 100px auto;
    background: rgba(217, 217, 217, 0.1);
    border-radius: 30px;
}

.form {
    width: 310px;
    margin: 100px auto;
    padding-top: 30px;
}

.form .tabs {
    /* 采用 Flex 布局 （弹性布局） */
    /* 参考：https://www.cnblogs.com/hellocd/p/10443237.html */
    display: flex;
    border-bottom: 1px solid #020615;
    text-align: center;
}

.form .tabs .tab {
    /* flex：1是由flex-grow，flex-shrink与flex-basic组成 */
    /* 这里是自动填充满剩余空间，如果有两个地方设置了flex，按着flex-grow的规则分配剩余空间 */
    /* 参考：https://blog.csdn.net/CSDN_156/article/details/121757099 */
    flex: 1;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    color: rgba(217, 217, 217, 0.6);
    padding-bottom: 8px;
    /* 下划线特效 */
    border-bottom: 2px solid transparent /* 边框颜色为透明 */;
}

.form .tabs .tab a {
    /* 对文本设置某种效果，对于连接浏览器会默认下划线，这里影响美观，设置none用来去掉下划线 */
    /* 参考：https://www.w3school.com.cn/cssref/pr_text_text-decoration.asp */
    text-decoration: none;
    color: rgba(217, 217, 217, 0.6);
}

/* :focus，表示获得焦点的元素（如表单输入）。当用户点击或触摸元素或通过键盘的 “tab” 键选择它时会被触发 */
/* 参考：https://developer.mozilla.org/zh-CN/docs/Web/CSS/:focus */
.form .tabs .tab:focus {
    outline: none;
}

/* 选中下划线特效 */
.form .tabs .tab-selected {
    color: rgba(217, 217, 217, 0.8);
    border-bottom: 2px solid rgba(217, 217, 217, 0.1);
}

.form .form-login {
    margin-top: 9px;
}

.form .form-login .hint {
    height: 30px;
    display: flex;
    align-items: center;
}

.form .form-login .hint .hint-icon {
    width: 11px;
    height: 11px;
    margin-right: 6px;
    background: url("../image/form/hint-icon.png") no-repeat center/contain;
}

.form .form-login .hint .txt {
    font-size: 10px;
    line-height: 14px;
    color: #ff4848;
}

.form .form-login input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(2, 6, 21, 0.4);
    background-color: rgba(2, 6, 21, 0.3);
    border-radius: 5px;
    padding: 0 15px;
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login input:focus {
    outline: none;
    background: rgba(2, 6, 21, 0.1);
}

.form .form-login .username {
    margin-bottom: 10px;
    line-height: 0;
}

/* 以下为一些浏览器设置，因为不同浏览器不一样 */
.form .form-login .username ::-webkit-input-placeholder {
    /* WebKit browsers */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .username :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .username ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .username :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .pwd {
    margin-bottom: 10px;
    position: relative;
    line-height: 0;
}

/* 以下为一些浏览器设置，因为不同浏览器不一样 */
.form .form-login .pwd ::-webkit-input-placeholder {
    /* WebKit browsers */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .pwd :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .pwd ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .pwd :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-login .pwd .pwd-retrieve {
    position: absolute;
    top: 11px;
    right: 15px;
    font-size: 12px;
    line-height: 17px;
    color: #adadad;
    text-decoration: none;
}

/* #的使用参考：http://www.cunguer.com/article/267.html 或 https://blog.csdn.net/baobaolaogong/article/details/8153532 */
.form .form-login .auto-login input[type=checkbox]#auto-login-checkbox {
    display: none;
}

.form .form-login .auto-login input[type=checkbox]#auto-login-checkbox + label:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(217, 217, 217, 0.2);
    vertical-align: middle;
    margin-right: 8px;
    transition: all 0.2s;
}

.form .form-login .auto-login input[type=checkbox]#auto-login-checkbox:checked + label:before {
    background: rgba(217, 217, 217, 0.2) url("../image/form/check.png") no-repeat center/12px 12px;
    border-color: rgba(217, 217, 217, 0.5);
}

.form .form-login .auto-login {
    margin: 15px auto;
}

.form .form-login .auto-login > input {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.form .form-login .auto-login > label {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 17px;
    color: rgb(217, 217, 217);
}

.form .form-signup {
    margin-top: 39px;
    line-height: 0;
}

.form .form-signup ::-webkit-input-placeholder {
    /* WebKit browsers */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-signup :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-signup ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-signup :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-size: 12px;
    color: #8d8d8d;
}

.form .form-signup input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(2, 6, 21, 0.4);
    background-color: rgba(2, 6, 21, 0.3);
    border-radius: 5px;
    padding: 0 15px;
    font-size: 12px;
    color: #8d8d8d;
    margin-bottom: 10px;
}

.form .form-signup input:focus {
    outline: none;
    background: rgba(2, 6, 21, 0.1);
}

/* 主页部分 */
.homePage {
    width: 330px;
    height: 302px;
    margin: 100px auto;
}

.homePage a {
    text-decoration: none;
    color: rgba(46, 226, 238, 0.8);;
}

.homePage p {
    font-family: 'Inter', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 48px;
    color: rgba(217, 217, 217, 0.8);
}

.choose {
    width: 130px;
    height: 40px;
    margin: 10px auto;
    background: rgba(217, 217, 217, 0.1);
    border-radius: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}